const config = require('./index');

const deployEnv = process.env?.APP_DEPLOY_ENV;

module.exports = {
    getCdnPath: ()=>{
        return `${config[deployEnv]?.cdnUrl || ''}/`;
    },
    getApiPath: (needSuffix = true) => {
        return `${config[deployEnv]?.apiHost || ''}${needSuffix ? "/" : ''}`;
    },
    
}